package com.wrupple.vegetate.domain;

import java.util.List;


public interface CatalogResponseContract{
	
	/**
	 * gives a reason for failure, or null if request was a success
	 * 
	 * @return the message to display to the user as the cause of this miserable failure
	 */
	String getError();
	
	/**
	 * @return the contents of the response
	 */
	List<? extends CatalogObject> getResponse();
	
	List<String> getWarnings();
	
}